package com.hgxd.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 停送电管理
 * </p>
 *
 * @author wtf
 * @since 2023-11-30
 */
@Getter
@Setter
@TableName("rb_power_off")
@ApiModel(value = "PowerOff对象", description = "停送电管理")
public class PowerOff implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("计划名称")
    private String planName;

    @ApiModelProperty("计划内容")
    private String planContent;

    @ApiModelProperty("操作人id")
    private Integer operateId;

    @ApiModelProperty("操作人名称")
    private String operateName;

    @ApiModelProperty("计划创建时间")
    private LocalDateTime creatTime;

    @ApiModelProperty("一级审批人id")
    private Integer firstApproverId;

    @ApiModelProperty("一级审批人-名称-领导")
    private String firstApproverName;

    @ApiModelProperty("一级审批状态：0已审批、1未审批、2已驳回")
    private String firstApprovalStatus;

    @ApiModelProperty("一级审批时间")
    private LocalDateTime firstApprovalTime;

    @ApiModelProperty("一级审批意见")
    private String firstApprovalOpinion;

    @ApiModelProperty("二级审批人id")
    private Integer secondaryApproverId;

    @ApiModelProperty("二级审批人-名称-主管")
    private String secondaryApproverName;

    @ApiModelProperty("二级审批状态：0已审批、1未审批、2已驳回")
    private String secondaryApprovalStatus;

    @ApiModelProperty("二级审批时间")
    private LocalDateTime secondaryApprovalTime;

    @ApiModelProperty("二级审批意见")
    private String secondaryApprovalOpinion;

    @ApiModelProperty("当前状态：未审批、审批中、已完成、已驳回、已取消")
    private String planStatus;

    @ApiModelProperty("备注")
    private String comment;

    @ApiModelProperty("是否删除，0未删除，1已删除")
    @TableLogic
    private Integer isDeleted;


}
